package com.example.mobile2021606134chhnewdemo.WeatherModule;

import java.io.Serializable;

public class SGonAir {
    /**
     * code : 0
     * data : {"aqi":{"cityName":"佛山市","co":"4","coC":"0.4","no2":"5","no2C":"10.0","o3":"38","o3C":"120.0","pm10":"31","pm10C":"31.0","pm25":"20","pm25C":"14.0","pubtime":"1625385600000","rank":"331/670","so2":"2","so2C":"5.0","value":"38"},"city":{"cityId":917,"counname":"中国","ianatimezone":"Asia/Shanghai","name":"佛山市","pname":"广东省","secondaryname":"广东省","timezone":"8"}}
     * msg : success
     * rc : {"c":0,"p":"success"}
     */

    private int code;
    private DataBean data;
    private String msg;
    private RcBean rc;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public RcBean getRc() {
        return rc;
    }

    public void setRc(RcBean rc) {
        this.rc = rc;
    }

    public static class DataBean implements Serializable {
        /**
         * aqi : {"cityName":"佛山市","co":"4","coC":"0.4","no2":"5","no2C":"10.0","o3":"38","o3C":"120.0","pm10":"31","pm10C":"31.0","pm25":"20","pm25C":"14.0","pubtime":"1625385600000","rank":"331/670","so2":"2","so2C":"5.0","value":"38"}
         * city : {"cityId":917,"counname":"中国","ianatimezone":"Asia/Shanghai","name":"佛山市","pname":"广东省","secondaryname":"广东省","timezone":"8"}
         */

        private AqiBean aqi;
        private CityBean city;

        public AqiBean getAqi() {
            return aqi;
        }

        public void setAqi(AqiBean aqi) {
            this.aqi = aqi;
        }

        public CityBean getCity() {
            return city;
        }

        public void setCity(CityBean city) {
            this.city = city;
        }

        public static class AqiBean implements Serializable {
            /**
             * cityName : 佛山市
             * co : 4
             * coC : 0.4
             * no2 : 5
             * no2C : 10.0
             * o3 : 38
             * o3C : 120.0
             * pm10 : 31
             * pm10C : 31.0
             * pm25 : 20
             * pm25C : 14.0
             * pubtime : 1625385600000
             * rank : 331/670
             * so2 : 2
             * so2C : 5.0
             * value : 38
             */

            private String cityName;
            private String co;
            private String coC;
            private String no2;
            private String no2C;
            private String o3;
            private String o3C;
            private String pm10;
            private String pm10C;
            private String pm25;
            private String pm25C;
            private String pubtime;
            private String rank;
            private String so2;
            private String so2C;
            private String value;

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            public String getCo() {
                return co;
            }

            public void setCo(String co) {
                this.co = co;
            }

            public String getCoC() {
                return coC;
            }

            public void setCoC(String coC) {
                this.coC = coC;
            }

            public String getNo2() {
                return no2;
            }

            public void setNo2(String no2) {
                this.no2 = no2;
            }

            public String getNo2C() {
                return no2C;
            }

            public void setNo2C(String no2C) {
                this.no2C = no2C;
            }

            public String getO3() {
                return o3;
            }

            public void setO3(String o3) {
                this.o3 = o3;
            }

            public String getO3C() {
                return o3C;
            }

            public void setO3C(String o3C) {
                this.o3C = o3C;
            }

            public String getPm10() {
                return pm10;
            }

            public void setPm10(String pm10) {
                this.pm10 = pm10;
            }

            public String getPm10C() {
                return pm10C;
            }

            public void setPm10C(String pm10C) {
                this.pm10C = pm10C;
            }

            public String getPm25() {
                return pm25;
            }

            public void setPm25(String pm25) {
                this.pm25 = pm25;
            }

            public String getPm25C() {
                return pm25C;
            }

            public void setPm25C(String pm25C) {
                this.pm25C = pm25C;
            }

            public String getPubtime() {
                return pubtime;
            }

            public void setPubtime(String pubtime) {
                this.pubtime = pubtime;
            }

            public String getRank() {
                return rank;
            }

            public void setRank(String rank) {
                this.rank = rank;
            }

            public String getSo2() {
                return so2;
            }

            public void setSo2(String so2) {
                this.so2 = so2;
            }

            public String getSo2C() {
                return so2C;
            }

            public void setSo2C(String so2C) {
                this.so2C = so2C;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }

        public static class CityBean implements Serializable {
            /**
             * cityId : 917
             * counname : 中国
             * ianatimezone : Asia/Shanghai
             * name : 佛山市
             * pname : 广东省
             * secondaryname : 广东省
             * timezone : 8
             */

            private int cityId;
            private String counname;
            private String ianatimezone;
            private String name;
            private String pname;
            private String secondaryname;
            private String timezone;

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public String getCounname() {
                return counname;
            }

            public void setCounname(String counname) {
                this.counname = counname;
            }

            public String getIanatimezone() {
                return ianatimezone;
            }

            public void setIanatimezone(String ianatimezone) {
                this.ianatimezone = ianatimezone;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPname() {
                return pname;
            }

            public void setPname(String pname) {
                this.pname = pname;
            }

            public String getSecondaryname() {
                return secondaryname;
            }

            public void setSecondaryname(String secondaryname) {
                this.secondaryname = secondaryname;
            }

            public String getTimezone() {
                return timezone;
            }

            public void setTimezone(String timezone) {
                this.timezone = timezone;
            }
        }
    }

    public static class RcBean implements Serializable {
        /**
         * c : 0
         * p : success
         */

        private int c;
        private String p;

        public int getC() {
            return c;
        }

        public void setC(int c) {
            this.c = c;
        }

        public String getP() {
            return p;
        }

        public void setP(String p) {
            this.p = p;
        }
    }
}
